package by.exposit.domain;

/**
 * Created by HaRiA on 29.07.2014.
 */
public class User {

    private Long userId;

    private String userName;

    private String userLName;

    private String login;

    private String userEmail;

    private String password;

    private Long isAdmin;


    public  User()
    {}
  public User(String userName, String userLName,String login, String password, String userEmail) {
          this.userName = userName;
          this.userEmail= userEmail;
          this.userLName =userLName;
          this.password = password;
          this.login = login;
    	   this.isAdmin = Long.valueOf(0);
    }

    public User(Long userId ,String userName, String userLName,String login, String password, String userEmail,
                long isAdmin) {
        this.userId=userId;
        this.userName = userName;
        this.userEmail= userEmail;
        this.userLName =userLName;
        this.password = password;
        this.login = login;
        this.isAdmin = isAdmin;
    }
    public Long getUserId() {
        return userId;
    }

    public Long getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Long isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getUserName() {
        return userName;
    }

    public String getUserLName() {
        return userLName;
    }

    public String getUserLogin() {
        return login;
    }


    public String getUserEmail() {
        return userEmail;
    }

    public String getUserPassword() {
        return password;
    }

    public void setUserId(Long userId) {
        this.userId = userId;

    }

    public void setUserName(String userName) {
    this.userName = userName;
    }

    public void setUserLName(String userLName) {
        this.userLName = userLName;
    }

    public void setUserEmail(String userEmail) {
    	this.userEmail = userEmail;
    }

    public void setUserLogin(String login) {
    	this.login = login;
    }

    public void setUserPassword(String password) {
        this.password = password;
    }


}
